home *** CD-ROM | disk | FTP | other *** search
/ Revista CD Expert 8 / Revista CD Expert nº 08 CD1.iso / Utilitarios / Programacao / Bloodshed Dev-C++ 2.0 / _SETUP.1 / silly.h < prev    next >
C/C++ Source or Header  |  1997-11-13  |  293b  |  28 lines

  1.  
  2. #define    DERIVED_TEST    1
  3.  
  4. class CSilly
  5. {
  6.   protected:
  7.     char*    szName;
  8.  
  9.   public:
  10.     CSilly();
  11.     CSilly(char* szName);
  12. #ifdef DERIVED_TEST
  13.     virtual ~CSilly();
  14. #else
  15.     ~CSilly();
  16. #endif
  17.  
  18.     Poke ();
  19.     Stab (int nTimes);
  20. #ifdef DERIVED_TEST
  21.     virtual WhatsYourName ();
  22. #else
  23.     WhatsYourName ();
  24. #endif
  25.  
  26. };
  27.  
  28.